﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucGioiThieu.ascx.cs" Inherits="Admin_ucControl_ucGioiThieu" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
<div>
    <h1>
        Giới thiệu
    </h1>
    <table class="style1">
        <tr>
            <td style="width: 140px">
                <asp:Label ID="lb" runat="server" Text="Nội dung"></asp:Label>
            </td>
            <td>
                <cc1:Editor ID="txtnoidung" runat="server" />
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="btnLuu" runat="server" Text="Lưu" OnClick="btnLuu_Click" />
            </td>
        </tr>
        <tr>
        <td></td>
            <td>
                <asp:GridView ID="grGioithieu" runat="server" CellPadding="3" AutoGenerateColumns="False"
                    BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                    ShowFooter="True" Width="550px">
                    <RowStyle ForeColor="#000066" />
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" Height="35px" />
                    <Columns>
                        <asp:HyperLinkField DataTextField="Noidung" DataNavigateUrlFormatString="~/Admin/Gioithieu.aspx?id={0}"
                            HeaderText="Tên file" SortExpression="Noidung" DataNavigateUrlFields="ID">
                            <ItemStyle Width="150px" HorizontalAlign="Center" />
                        </asp:HyperLinkField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</div>
